import request from '@/utils/request';

export async function withdrawSetting(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busStoreWithdrawInfo/getWithdrawSetting', {
    method: 'POST',
    data: params,
  });
}

export async function editWithdrawSetting(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busStoreWithdrawInfo/getWithdrawSetting', {
    method: 'POST',
    data: params,
  });
}

// 交易设置列表
export async function fetchTradeList(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busBusinessIntercalate/busBusinessIntercalateList', {
    method: 'POST',
    data: params,
  });
}

// 交易页设置
export async function fetchTradeSetting(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busBusinessIntercalate/getBusinessIntercalate', {
    method: 'POST',
    data: params,
  });
}

export async function goodsCatList(params = {}) {
  return request('/Amaidan-Merchants-Web/merchants/busBusinessIntercalate/goodsCatList', {
    method: 'POST',
    data: params,
  });
}

